package interval
Import Path
github.com/K-Phoen/grabana/variable/interval (on go.dev)
Dependency Relation
imports 4 packages, and imported by one package
Involved Source Files
interval.go
Package-Level Type Names (total 3)
Interval represents a "interval" templated variable.
Builder sdk.TemplateVar
func New(name string, options ...Option) *Interval
Option represents an option that can be used to configure an interval.
func Default(value string) Option
func Hide() Option
func HideLabel() Option
func Label(label string) Option
func Values(values ValuesList) Option
func New(name string, options ...Option) *Interval
func github.com/K-Phoen/grabana/dashboard.VariableAsInterval(name string, options ...Option) dashboard.Option
Package-Level Functions (total 6)
Default sets the default value of the variable.
Hide ensures that the variable will not be displayed.
HideLabel ensures that this variable's label will not be displayed.
Label sets the label of the variable.
New creates a new "interval" templated variable.
Values sets the possible values for the variable.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |